float nearestPow2(float x);
void crossProduct(double y[3], double z[3], double x[3]);
double dotProduct(double x[3], double y[3]);
double magnitude(double A[3]);
float magnitude(float A[3]);;